package com.ithe.canteen.mapper;

import com.ithe.canteen.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {

    List<Comment> queryComment(String foodID);

    List<Comment> getCommentList();

    boolean deleteComment(String commentID);

    boolean insertComment(String commentID, String commentFood, String commentUser, String commentDate, String commentContent);
}
